home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / doshelp.arc / ERASE.TXT < prev    next >
Encoding:
Text File  |  1985-03-27  |  1.3 KB  |  24 lines

  1. <<<<<<<<<<<<<<<<<<<<<          ERASE              >>>>>>>>>>>>>>>>>>>>>
  2.  
  3. PURPOSE:  Deletes one or more files from a disk.  
  4.  
  5. TIP:  Be careful when using wild cards ... a '*' replaces a series of
  6. characters and '?' replaces one character.  Using ERASE *.* will erase
  7. all files in the current directory of the default drive.  If you are
  8. not certain what will be erased when using wild cards ... first use 
  9. the directory command (DIR) with the same wild cards.
  10.  
  11. ;    ERASE B:CHICAGO.DAT         Erases the file CHICAGO.DAT from the
  12. ;                                current directory of Drive B.
  13.  
  14. ;    ERASE C:\LOTUS.DAT\*.DIF    Erases all files ending in .DIF from
  15. ;                                the LOTUS.DAT directory of Drive C.
  16.  
  17. ;    ERASE A:AIR??.DOC           Erases all files beginning with AIR
  18. ;                                and ending with .DOC from the current
  19. ;                                directory of Drive A.  This will erase
  20. ;                                AIR01.DOC and AIR25.DOC but it will 
  21. ;                                not erase AIR2014.DOC because each '?'
  22. ;                                is a wild card for only one character. 
  23. ###
  24.